﻿using System.Web.Mvc;

namespace Weibo4SharpWeb.Controllers
{
    public class PublicController : WeiboControllerBase
    {
        //
        // GET: /Public/

        public ActionResult Index()
        {
            var weibos = GetService().ListWeibosOnPublicTimeline();

            GetService().ListWeiboCountsBindToWeibos(weibos);

            return View(weibos);            
        }

    }
}
